package o;

import com.huawei.appgallery.foundation.store.bean.spilt.DeviceSpec;
import com.huawei.appgallery.foundation.store.bean.spilt.DeviceSpec.e;
import com.huawei.appgallery.jsonkit.api.annotation.FieldSecurity;
import com.huawei.appgallery.jsonkit.api.annotation.SecurityLevel;

public class cfv extends chd {
    public static final String APIMETHOD = "client.getTabDetail";
    public static final String VER_NUMBER = "1.1";
    private static final long serialVersionUID = 6539635892906602379L;
    private String aId_;
    private String accessId_;
    private String channelNo_;
    @FieldSecurity(security = SecurityLevel.PRIVACY)
    private String cityId_;
    private String contentPkg_ = "";
    private String dataFilterSwitch_;
    private DeviceSpec deviceSpecParams_;
    private String domainId_;
    private int fid_;
    private String inputWord_;
    private int isSupportPage_;
    private String needFilteredApps_;
    private long roamingTime_;
    private String scheme_;
    @FieldSecurity(security = SecurityLevel.PRIVACY)
    private String slat_;
    @FieldSecurity(security = SecurityLevel.PRIVACY)
    private String slng_;
    private String sortType_;
    private String spinner_;
    private int translateFlag_;
    private String wishIds_;

    public cfv() {
        ॱॱ();
    }

    private void ॱॱ() {
        this.deviceSpecParams_ = new e(ContentManager.getInstant().getContext()).ˎ(true).ॱ();
    }

    private static cfv ˊ(String str, int i) {
        cfv o_cfv = new cfv();
        o_cfv.setMethod_("client.getTabDetail");
        o_cfv.setStoreApi("clientApi");
        o_cfv.ॱ(epk.ˏ());
        o_cfv.ˏ(str);
        o_cfv.ˏ(25);
        o_cfv.ˎ(i);
        o_cfv.setVer_(VER_NUMBER);
        o_cfv.ˎ(eua.ˏ().ॱ("roam_time", 0));
        if (ʼ()) {
            o_cfv.ˊ(1);
        }
        o_cfv.setRequestId(o_cfv.ˋ());
        return o_cfv;
    }

    private static boolean ʼ() {
        return (epr.ˎ().ॱॱ() || cdn.ॱॱ()) ? false : true;
    }

    public static cfv ˎ(String str, String str2, int i, int i2) {
        cfv ˊ = ˊ(str, i2);
        if (str2 != null) {
            ˊ.ˋॱ(str2);
        }
        ˊ.ˏ(25);
        ˊ.setServiceType_(i);
        return ˊ;
    }

    public void ˎ(long j) {
        this.roamingTime_ = j;
    }

    public void ˊ(int i) {
        this.isSupportPage_ = i;
    }

    public void ˋ(int i) {
        this.translateFlag_ = i;
    }

    public void ˋ(String str) {
        this.inputWord_ = str;
    }

    public void ˊ(String str) {
        this.scheme_ = str;
    }

    public void ˎ(String str) {
        this.domainId_ = str;
    }

    public void ॱ(String str) {
        this.aId_ = str;
    }

    public String ॱ() {
        return this.contentPkg_;
    }

    public void ᐝ(String str) {
        this.contentPkg_ = str;
    }

    public void ʼ(String str) {
        this.accessId_ = str;
    }

    public void ʻ(String str) {
        this.channelNo_ = str;
    }

    public void ॱॱ(String str) {
        this.spinner_ = str;
    }

    public void ʽ(String str) {
        this.dataFilterSwitch_ = str;
    }

    public void ˏॱ(String str) {
        this.needFilteredApps_ = str;
    }

    public void ॱ(int i) {
        this.fid_ = i;
    }

    public String getCacheID() {
        StringBuilder append = new StringBuilder(64).append(ˎ()).append(dok.ᐝ());
        if (dgm.ˋ(getServiceType_())) {
            return append.append(String.valueOf(getServiceType_())).toString();
        }
        return append.toString();
    }
}
